package com.westos.echufang.constants;

import java.util.regex.Pattern;

public class aaa {

    public static void main(String[] args) {
        String nameRegex="^[\u4e00-\u9fa5.·\u36c3\u4DAE]{0,}-(药剂师|医师)$";
        System.out.println(Pattern.matches(nameRegex,"王伟腾-医师"));
    }
}
